package com.dd.cloud.user.entity.doctor;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "医生银行卡")
public class DoctorBank {

    /**
     * 主键 id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 医生id
     */
    @Column(comment = "医生id")
    private Integer doctorId;

    /**
     * 银行卡号
     */
    @Column(comment = "银行卡号",length = 32)
    private String bankNumber;

    /**
     * 银行卡类型
     */
    @Column(comment = "银行卡类型",length = 32)
    private String type;

    /**
     * 开户省
     */
    @Column(comment = "开户省",length = 32)
    private String province;

    /**
     * 开户市
     */
    @Column(comment = "开户市",length = 32)
    private String city;

    /**
     * 开户行
     */
    @Column(comment = "开户行",length = 32)
    private String accountOpeningBank;

    /**
     * 身份证正面照片
     */
    @Column(comment = "身份证正面照片",length = 120)
    private String idCartFrontPhoto;

    /**
     * 身份证反面
     */
    @Column(comment = "身份证反面照片",length = 120)
    private String reverseSideBankPhoto;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;

    /**
     * 更新时间
     */
    @Column(comment = "更新时间")
    private LocalDateTime updateDate;


}
